package cl.orange.portal.utils.email;

import javax.mail.internet.AddressException;

public interface EmailService {

    <T> void sendMail(final T data, final String templateName, final String subject, final String sendTo);

    <T> void sendMailNative(T data, String templateName, String subject, String sendTo) throws AddressException;
    
    <T> void sendMailNative(T data, String templateName, String subject, String sendTo, String... sendToCC) throws AddressException;

}
